﻿using System;
using YiCheap.Core;
using YiCheap.Core.Domain.Posts;

namespace YiCheap.Service.Posts
{
    public interface IPostService
    {
        PostResponse PurchaseProduct(PostRequest request);

        IPagedList<Post> SearchPost(DateTime? startTime, DateTime? endTime, int pageIndex, int pageSize);
    }
}